package com.itqf.mapper;

import com.itqf.bean.DtsStorage;
import com.itqf.bean.DtsStorageExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DtsStorageMapper {
    long countByExample(DtsStorageExample example);

    int deleteByExample(DtsStorageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DtsStorage record);

    int insertSelective(DtsStorage record);

    List<DtsStorage> selectByExample(DtsStorageExample example);

    DtsStorage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DtsStorage record, @Param("example") DtsStorageExample example);

    int updateByExample(@Param("record") DtsStorage record, @Param("example") DtsStorageExample example);

    int updateByPrimaryKeySelective(DtsStorage record);

    int updateByPrimaryKey(DtsStorage record);

    /**
     * 插入数据并回显
     * @param dtsStorage
     */
    void insertDtsStorage(DtsStorage dtsStorage);
}